@include("layout.header")
<html>
<head>
    <meta charset="utf-8">
    <title>Layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/us/layui/layui-v/layui/css/layui.css"  media="all">
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body>
<div class="layui-body">
    <a href="/index.php/admin/createper">增加操作</a>
    <div class="user-login-header">
        <h2>
            操作列表页
        </h2>
    </div>
    <table class="layui-table" lay-data="{url:'/index.php/admin/getper', page:true, id:'idTest'}" lay-filter="demo">
        <thead>
        <tr>
            <th lay-data="{type:'checkbox', fixed: 'left'}"></th>
            <th lay-data="{field:'id', width:120, sort: true, fixed: true}">ID</th>
            <th lay-data="{field:'name', width:120}">操作名称</th>
            <th lay-data="{field:'namespace', width:200, sort: true}">命名空间</th>
            <th lay-data="{field:'controller', width:160}">控制器</th>
            <th lay-data="{field:'action', width:120}">方法</th>
            <th lay-data="{field:'description', width:120}">描述</th>
            <th lay-data="{field:'parent_id', width:150, sort: true}">父节点</th>
            <th lay-data="{fixed: 'right', width:178, align:'center', toolbar: '#barDemo'}"></th>
        </tr>
        </thead>
    </table>
</div>

<script type="text/html" id="barDemo">

    <a class="layui-btn layui-btn-xs layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>


<script src="/us/layui/layui-v/layui/layui.js" charset="utf-8"></script>

@include("layout.footerper")



